package com.lvy.hczn.transmit.domain.dto.cteck;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lvy.hczn.front.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 包装袋关联商品信息
 *
 * @author yw
 * @date 2023-07-18 15:12:26
 **/
@Data
@ApiModel(value = "包装袋关联商品信息")
public class GoodsBag {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "商品编码")
    private String productCode;

    /**
     * sku编码
     */
    @Excel(name = "sku编码")
    @ApiModelProperty(value = "sku编码")
    private String skuCode;

    /**
     * 商品规格编码
     */
    @Excel(name = "商品规格编码")
    @ApiModelProperty(value = "商品规格编码")
    private String specCode;

    @ApiModelProperty(value = "包装袋ID")
    private String bagId;

    @ApiModelProperty(value = "操作人")
    private String createBy;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "0:新增,1:删除")
    private Integer type;
}
